<?php
$this->breadcrumbs=array(
	'Account Token Categories'=>array('index'),
	$model->name=>array('view','id'=>$model->id),
	'Update',
);

$this->userActions=array(
	//array('label'=>'List AccountTokenCategory', 'url'=>array('index')),
	array('label'=>'新建子科目', 'url'=>array('create')),
	array('label'=>'查看', 'url'=>array('view', 'id'=>$model->id)),
	array('label'=>'管理上级科目', 'url' => $model->parentId ? array(
			'admin',
			'parentId' => $model->parentId
		) : array(
			'admin'
		)),
	array('label'=>'管理子科目', 'url' => $model->parentId ? array(
			'admin',
			'parentId' => $model->id
		) : array(
			'admin'
		)),
);
?>

<h1>更新科目 <?php echo $model->name; ?></h1>

<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>